Support |
您所在的位置:网站首页 › configure clock › Support |
Table of Contents 1 Basic Configurations· 1-1 Basic Configurations· 1-1 Entering/Exiting System View· 1-1 Configuring the Device Name· 1-1 Configuring the System Clock· 1-1 Configuring a Banner 1-5 Configuring CLI Hotkeys· 1-6 Configuring User Privilege Levels and Command Levels· 1-7 Displaying and Maintaining Basic Configurations· 1-9 CLI Features· 1-9 Introduction to CLI 1-10 Online Help with Command Lines· 1-10 Synchronous Information Output 1-11 Undo Form of a Command· 1-11 Editing Features· 1-11 CLI Display· 1-12 Saving History Commands· 1-15 Command Line Error Information· 1-16 1 Basic Configurations Basic Configurations This section covers the following topics: l Entering/Exiting System View l Configuring the Device Name l Configuring the System Clock l Configuring a Banner l Configuring CLI Hotkeys l Configuring User Privilege Levels and Command Levels l Displaying and Maintaining Basic Configurations Entering/Exiting System ViewFollow these steps to enter/exit system view: To do… Use the command… Remarks Enter system view from user view system-view — Return to user view from system view quit —
With the quit command, you can return to the previous view. You can execute the return command or press the hot key to return to user view. Configuring the Device Name To do… Use the command… Remarks Enter system view system-view — Configure the device name sysname sysname Optional The default device name is H3C. Configuring the System Clock Configuring the system clock The system clock, displayed by system time stamp, is decided by the configured relative time, time zone, and daylight saving time. You can view the system clock by using the display clock command. Follow these steps to configure the system clock: To do… Use the command… Remarks Set time and date clock datetime time date Optional Available in user view. Enter system view system-view — Set the time zone clock timezone zone-name { add | minus } zone-offset Optional Set a daylight saving time scheme clock summer-time zone-name one-off start-time start-date end-time end-date add-time Optional clock summer-time zone-name repeating start-time start-date end-time end-date add-time Displaying the system clock The system clock is displayed by system time stamp, which is the same as that displayed by the display clock command. The system clock is decided by the commands clock datetime, clock timezone and clock summer-time. If these three commands are not configured, the display clock command displays the original system clock. If you combine these three commands in different ways, the system clock is displayed in the ways shown in Table 1-1. The meanings of the parameters in the configuration column are as follows: l 1 indicates date-time has been configured with the clock datetime. l 2 indicates time-zone has been configured with the clock timezone command and the offset time is zone-offset. l 3 indicates daylight saving time has been configured with the clock summer-time command and the offset time is summer-offset. l [1] indicates the clock datetime command is an optional configuration. l The default system clock is 2005/1/1 1:00:00 in the example. Table 1-1 Relationship between the configuration and display of the system clock Configuration System clock displayed by the display clock command Example 1 date-time Configure: clock datetime 1:00 2007/1/1 Display: 01:00:00 UTC Mon 01/01/2007 2 The original system clock ± zone-offset Configure: clock timezone zone-time add 1 Display: 02:00:00 zone-time Sat 01/01/2005 1 and 2 date-time ± zone-offset Configure: clock datetime 2:00 2007/2/2 and clock timezone zone-time add 1 Display: 03:00:00 zone-time Fri 02/02/2007 [1], 2 and 1 date-time Configure: clock timezone zone-time add 1 and clock datetime 3:00 2007/3/3 Display: 03:00:00 zone-time Sat 03/03/2007 3 If the original system clock is not in the daylight saving time range, the original system clock is displayed. Configure: clock summer-time ss one-off 1:00 2006/1/1 1:00 2006/8/8 2 Display: 01:00:00 UTC Sat 01/01/2005 If the original system clock is in the daylight saving time range, the original system clock + summer-offset is displayed. Configure: clock summer-time ss one-off 00:30 2005/1/1 1:00 2005/8/8 2 Display: 03:00:00 ss Sat 01/01/2005 1 and 3 If date-time is not in the daylight saving time range, date-time is displayed. Configure: clock datetime 1:00 2007/1/1 and clock summer-time ss one-off 1:00 2006/1/1 1:00 2006/8/8 2 Display: 01:00:00 UTC Mon 01/01/2007 If date-time is in the daylight saving time range, “date-time” + “summer-offset” is displayed. Configure: clock datetime 8:00 2007/1/1 and clock summer-time ss one-off 1:00 2007/1/1 1:00 2007/8/8 2 Display: 10:00:00 ss Mon 01/01/2007 [1], 3 and 1 If date-time is not in the daylight saving time range, date-time is displayed. Configure: clock summer-time ss one-off 1:00 2007/1/1 1:00 2007/8/8 2 and clock datetime 1:00 2008/1/1 Display: 01:00:00 UTC Tue 01/01/2008 date-time is in the daylight saving time range: If the value of “date-time” - “summer-offset” is not in the summer-time range, “date-time” - “summer-offset” is displayed; If the value of “date-time” - “summer-offset” is in the summer-time range, date-time is displayed. Configure: clock summer-time ss one-off 1:00 2007/1/1 1:00 2007/8/8 2 and clock datetime 1:30 2007/1/1 Display: 23:30:00 UTC Sun 12/31/2006 Configure: clock summer-time ss one-off 1:00 2007/1/1 1:00 2007/8/8 2 and clock datetime 3:00 2007/1/1 Display: 03:00:00 ss Mon 01/01/2007 2 and 3 or 3 and 2 If the value of the original system clock ± “zone-offset” is not in the summer-time range, the original system clock ± “zone-offset” is displayed. Configure: clock timezone zone-time add 1 and clock summer-time ss one-off 1:00 2007/1/1 1:00 2007/8/8 2 Display: 02:00:00 zone-time Sat 01/01/2005 Configure: clock timezone zone-time add 1 and clock summer-time ss one-off 1:00 2005/1/1 1:00 2005/8/8 2 Display: 04:00:00 ss Sat 01/01/2005 If the value of the original system clock ± “zone-offset” is in the summer-time range, the original system clock ± “zone-offset” + ”summer-offset” is displayed. Configure: clock datetime 1:00 2007/1/1, clock timezone zone-time add 1 and clock summer-time ss one-off 1:00 2008/1/1 1:00 2008/8/8 2 Display: 02:00:00 zone-time Mon 01/01/2007 1, 2 and 3 or 1, 3 and 2 If the value of "date-time"±"zone-offset" is not in the summer-time range, "date-time"±"zone-offset" is displayed. Configure: clock datetime 1:00 2007/1/1, clock timezone zone-time add 1 and clock summer-time ss one-off 1:00 2007/1/1 1:00 2007/8/8 2 Display: 04:00:00 ss Mon 01/01/2007 If the value of "date-time"±"zone-offset" is in the summer-time range, "date-time"±"zone-offset"+”summer-offset” is displayed. Configure: clock timezone zone-time add 1, clock summer-time ss one-off 1:00 2008/1/1 1:00 2008/8/8 2 and clock datetime 1:00 2007/1/1 Display: 01:00:00 zone-time Mon 01/01/2007 [1], 2, 3 and 1 or [1], 3, 2 and 1 If date-time is not in the daylight saving time range, date-time is displayed. Configure: clock timezone zone-time add 1, clock summer-time ss one-off 1:00 2008/1/1 1:00 2008/8/8 2 and clock datetime 1:30 2008/1/1 Display: 23:30:00 zone-time Mon 12/31/2007 date-time is in the daylight saving time range: If the value of “date-time”-“summer-offset” is not in the summer-time range, “date-time”-“summer-offset” is displayed; If the value of “date-time”-“summer-offset” is in the summer-time range, date-time is displayed. Configure: clock timezone zone-time add 1, clock summer-time ss one-off 1:00 2008/1/1 1:00 2008/8/8 2 and clock datetime 3:00 2008/1/1 Display: 03:00:00 ss Tue 01/01/2008 Configuring a Banner Introduction to banners Banners are prompt information displayed by the system when users are connected to the device, perform login authentication, and start interactive configuration. The administrator can set corresponding banners as needed. At present, the system supports the following five kinds of welcome information. l shell banner, also called session banner. l incoming banner, also called user interface banner, displayed when a user interface is activated by a Modem user. l login banner, welcome information at login authentications, displayed when password and scheme authentications are configured. l motd (Message of the Day) banner, welcome information displayed before authentication. l legal banner, also called authorization information. The system displays some copyright or authorization information, and then displays the legal banner before a user logs in, waiting for the user to confirm whether to continue the authentication or login. If entering Y or pressing the Enter key, the user enters the authentication or login process; if entering N, the user quits the authentication or login process. Y and N are case insensitive. Configuring a bannerWhen you configure a banner, the system supports two input modes. One is to input all the banner information right after the command keywords. The start and end characters of the input text must be the same but are not part of the banner information. In this case, the input text, together with the command keywords, cannot exceed 510 characters. The other is to input all the banner information in multiple lines by pressing the Enter key. In this case, up to 2000 characters can be input. The latter input mode can be achieved in the following three ways: l Press the Enter key directly after the command keywords, and end the setting with the % character. The Enter and % characters are not part of the banner information. l Input a character after the command keywords at the first line, and then press the Enter key. End the setting with the character input at the first line. The character at the first line and the end character are not part of the banner information. l Input multiple characters after the command keywords at the first line (with the first and last characters being different), then press the Enter key. End the setting with the first character at the first line. The first character at the first line and the end character are not part of the banner information. Follow these steps to configure a banner: To do… Use the command… Remarks Enter system view system-view — Configure the banner to be displayed at login (available for Modem login users) header incoming text Optional Configure the banner to be displayed at login authentication header login text Optional Configure the authorization information before login header legal text Optional Configure the banner to be displayed when a user enters user view (non Modem login users) header shell text Optional Configure the banner to be displayed before login header motd text Optional Configuring CLI Hotkeys Follow these steps to configure CLI hotkeys: To do… Use the command… Remarks Enter system view system-view — Configure CLI hotkeys hotkey { CTRL_G | CTRL_L | CTRL_O | CTRL_T | CTRL_U } command Optional The , and hotkeys are specified with command lines by default. Display hotkeys display hotkey Available in any view. Refer to Table 1-2 for hotkeys reserved by the system.
By default, the , and hotkeys are configured with command line and the and commands are NULL. l corresponds to the display current-configuration command. l corresponds to the display ip routing-table command. l corresponds to the undo debugging all command.
Table 1-2 Hotkeys reserved by the system Hotkey Function Moves the cursor to the beginning of the current line. Moves the cursor one character to the left. Stops performing a command. Deletes the character at the current cursor position. Moves the cursor to the end of the current line. Moves the cursor one character to the right. Deletes the character to the left of the cursor. Terminates an outgoing connection. Displays the next command in the history command buffer. Displays the previous command in the history command buffer. Redisplays the current line information. Pastes the content in the clipboard. Deletes all the characters in a continuous string to the left of the cursor. Deletes all the characters to the left of the cursor. Deletes all the characters to the right of the cursor. Exits to user view. Terminates an incoming connection or a redirect connection. Moves the cursor to the leading character of the continuous string to the left. Deletes all the characters of the continuous string at the current cursor position and to the right of the cursor. Moves the cursor to the front of the next continuous string to the right. Moves the cursor down by one line (available before you press the Enter key) Moves the cursor up by one line (available before you press the Enter key) Specifies the cursor as the ending of the clipboard.
These hotkeys are defined by the device. When you interact with the device from terminal software, these keys may be defined to perform other operations. If so, the definition of the terminal software will dominate. Configuring User Privilege Levels and Command Levels All the commands are defaulted to different views and categorized into four levels: visit, monitor, system, and manage, identified respectively by 0 through 3. If you want to acquire a higher privilege, you must switch to a higher user level, and it requires password to do so for AUX and VTY user interfaces for the security’s sake. The following table describes the default level of the commands. Table 1-3 Default command levels Level Privilege Command 0 Visit ping, tracert, telnet 1 Monitor refresh, reset, send 2 System All configuration commands except for those at manage level 3 Manage FTP, TFTP, Xmodem, and file system operation commands
Follow these steps to configure user level and command level: To do… Use the command… Remarks Switch the user level super [ level ] Optional Available in user view. Enter system view system-view — Configure the password for switching the user level super password [ level user-level ] { simple | cipher } password Optional By default, no password is configured. Configure the command level in system view command-privilege level level view view command Optional
The commands available depend on your user level when you log onto a device. For example, if your user level is 3 and the command level of VTY 0 interface is 1, you can use commands below level 3 (inclusive).
l When you configure the password for switching user level with the super password command, the user level is defaulted to 3 if no user level is specified. l The password for switching user privilege level can be displayed in both cipher text and simple text. You are recommended to adopt the former as the latter is easily cracked. l You can switch to a lower user level unconditionally. To switch to a higher user level, however, you need to enter the password needed (The password can be set with the super password command.). If the entered password is incorrect or no password is configured, the switch fails. Therefore, before switching to a higher user level, you should configure the password needed. l You are recommended to use the default user level; otherwise the change of user level may bring inconvenience to your maintenance and operation. Displaying and Maintaining Basic Configurations To do… Use the command… Remarks Display information on system version display version Available in any view Display information on the system clock display clock Display information on terminal users display users [ all ] Display the initial configurations display saved-configuration [ by-linenum ] Display the current validated configurations display current-configuration [ [ configuration [ configuration ] | controller | interface [ interface-type ] [ interface-number ] ] [ by-linenum ] [ | { begin | exclude | include } regular-expression ] ] Display the valid configuration under current view display this [ by-linenum ] Display clipboard information display clipboard Display and save statistics of each module’s running status display diagnostic-information
During daily maintenance or when the system is operating abnormally, you need to view each module’s running status to find the problem. Therefore, you are required to execute the corresponding display commands one by one. To collect more information one time, you can execute the display diagnostic-information command in any view to display or save statistics of each module’s running status. The execution of the display diagnostic-information command has the same effect as that of the commands display clock, display version, display device, and display current-configuration.
l For the detailed description of the display users command, refer to Login Commands in the System Volume. l The display commands discussed above are for the global configuration. Refer to the corresponding section for the display command for specific protocol and interface. CLI Features This section covers the following topics: l Introduction to CLI l Online Help with Command Lines l Synchronous Information Output l Undo Form of a Command l Editing Features l CLI Display l Saving History Command l Command Line Error Information Introduction to CLICLI is an interaction interface between devices and users. Through CLI, you can configure your devices by entering commands and view the output information and verify your configurations, thus facilitating your configuration and management of your devices. CLI provides the following features for you to configure and manage your devices: l Hierarchical command protection where you can only execute the commands at your own or lower levels. Refer to Configuring User Privilege Levels and Command Levels for details. l Easy access to on-line help by entering “?” l Abundant debugging information for fault diagnosis l Saving and executing commands that have be executed l Fuzzy match for convenience of input. When you execute a command, you can input part of the characters in a keyword. However, to enable you to confirm your operation, the command can be executed only when you input enough characters to make the command unique. Take the commands save and system-view which start with s as an example. To save the current configuration, you need to input sa at least; to enter system view, you need to input sy at least. You can press Tab to complement the command, or you can input the complete command. Online Help with Command LinesThe following are the types of online help available with the CLI: l Full help l Fuzzy help To obtain the desired help information, you can: 1) Enter in any view to access all the commands in this view and brief description about them as well. ? User view commands: backup Backup next startup-configuration file to TFTP server boot-loader Set boot loader bootrom Update/read/backup/restore bootrom cd Change current directory clock Specify the system clock cluster Run cluster command copy Copy from one file to another debugging Enable system debugging functions delete Delete a file dir List files on a file system display Show running system information ......omitted...... 2) Enter a command and a separated by a space. If is at the position of a keyword, all the keywords are given with a brief description. terminal ? debugging Send debug information to terminal logging Send log information to terminal monitor Send information output to current terminal trapping Send trap information to terminal 3) Enter a command and a separated by a space. If is at the position of a parameter, the description about this parameter is given. system-view [Sysname] interface vlan-interface ? VLAN interface number [Sysname] interface vlan-interface 1 ?
[Sysname] interface vlan-interface 1 Where, indicates that there is no parameter at this position. The command is then repeated in the next command line and executed if you press . 4) Enter a character string followed by a . All the commands starting with this string are displayed. c? cd clock copy 5) Enter a command followed by a character string and a . All the keywords starting with this string are listed. display ver? version 6) Press after entering the first several letters of a keyword to display the complete keyword, provided these letters can uniquely identify the keyword in this command. If several matches are found, the complete keyword which is matched first is displayed (the matching rule is: the letters next to the input letters are arranged in alphabetic order, and the letter in the first place is matched first.). If you repeatedly press Tab, all the keywords starting with the letter that you enter are displayed in cycles. Synchronous Information OutputSynchronous information output refers to the feature that if the user’s input is interrupted by system output, then after the completion of system output the system will display a command line prompt and your input so far, and you can continue your operations from where you were stopped. You can use the info-center synchronous command to enable synchronous information output. For the detailed description of this function, refer to Information Center Configuration in the System Volume. Undo Form of a CommandAdding the keyword undo can form an undo command. Almost every configuration command has an undo form. undo commands are generally used to restore the system default, disable a function or cancel a configuration. For example, the info-center enable command is used to enable the information center, while the undo info-center enable command is used to disable the information center. (By default, the information center is enabled.) Editing FeaturesThe CLI provides the basic command editing functions and supports multi-line editing. When you execute a command, the system automatically goes to the next line if the maximum length of the command is reached. You cannot press Enter to go to the next line; otherwise, the system will automatically execute the command. The maximum length of each command is 510 characters. Table 1-4 lists these functions. Table 1-4 Edit functions Key Function Common keys If the editing buffer is not full, insert the character at the position of the cursor and move the cursor to the right. key Deletes the character to the left of the cursor and move the cursor back one character. Left-arrow key or The cursor moves one character space to the left. Right-arrow key or The cursor moves one character space to the right. Up-arrow key or Displays history commands Down-arrow key or key Pressing after entering part of a keyword enables the fuzzy help function. If finding a unique match, the system substitutes the complete keyword for the incomplete one and displays it in the next line; when there are several matches, if you repeatedly press Tab, all the keywords starting with the letter that you enter are displayed in cycles. If there is no match at all, the system does not modify the incomplete keyword and displays it again in the next line.
When editing the command line, you can use other shortcut keys (For details, see Table 1-2) besides the shortcut keys defined in Table 1-4, or you can define shortcut keys by yourself. (For details, see Configuring CLI Hotkeys.) CLI Display The CLI display provides the output filtering and multiple-screen output functions. The output filtering function helps you to locate the information you are interested in quickly and the system displays the abundant information in multiple screens. You can also use output filtering in multiple-screen display. Filtering the output informationThe device provides the function to filter the output information. You can specify a regular expression (that is, a display rule) to search information you need. You can filter the output information in two approaches: l Input the begin, exclude or include keyword with regular expressions in the command lines. l When the information is displayed in multiple screens, you can use slashes (/), hyphens (-), or plus signs (+) with regular expressions. Then the system filters the rest information with regular expressions. A slash (/) equals the keyword begin; a hyphen (-) equals the keyword exclude; a plus sign (+) equals the keyword include. The descrtiption of the begin, exclude, and include keywords are as follows: l begin: Displays the line that matches the regular expression and all the subsequent lines. l exclude: Displays the lines that do not match the regular expression. l include: Displays only the lines that match the regular expression. The regular expression is a case sensitive string of 1 to 256 characters. The regular expression also supports special characters as shown in Table 1-5. Table 1-5 Special characters in a regular expression Character Meaning Remarks ^string Starting sign, string appears only at the beginning of a line. For example, regular expression “^user” only matches a string beginning with “user”, not “Auser”. string$ Ending sign, string appears only at the end of a line. For example, regular expression "user$” only matches a string ending with “user”, not “userA”. . Full stop, a wildcard used in place of any character, including single character, special character and blank. For example, “.l” can match “vlan” or “mpls”. * Asterisk, used to match a character or character group before it zero or multiple times. For example, “zo*” can match “z” and “zoo”; (zo)* can match “zo” and “zozo”. + Addition, used to match a character or character group one or multiple times before it For example, “zo+” can match “zo” and “zoo”, but not “z”. | Vertical bar, used to match the whole string on the left or right of it For example, “def|int” can only match a character string containing “def” or “int”. _ Underline. If it is at the beginning or the end of a regular expression, it equals ^ or $; in other cases, it equals comma, space, round bracket, or curly bracket. For example, “a_b” can match “a b” or “a(b”; “_ab” can only match a line starting with “ab”; “ab_” can only match a line ending with “ab”. - Hyphen. It connects two values (the smaller one before it and the bigger one after it) to indicate a range together with [ ]. For example, “1-9” means numbers from 1 to 9 (inclusive); “a-h” means from a to h (inclusive). [ ] A range of characters, Matches any character in the specified range. For example, [16A] can match a string containing any character among 1, 6, and A; [1-36A] can match a string containing any character among 1, 2, 3, 6, and A (with - being a hyphen). “]” can be matched only when it is put at the beginning of [ ] if it is used as a common character in [ ], for example [ ]string]. There is no such limit on “[”. ( ) A character group. It is usually used with “+” or “*”. For example, (123A) means a character group “123A”; “408(12)+” can match 40812 or 408121212. But it cannot match 408. \index Repeats a specified character group for once. A character group refers to the string in () before \. index refers to the sequence number (starting from 1 from left to right) of the character group before \: if only one character group appears before \, then index can only be 1; if n character groups appear before index, then index can be any integer from 1 to n. For example, (string)\1 means to repeat string for once, and (string)\1 must match a string containing stringstring; (string1)(string2)\2 means to repeat string2 for once, and (string1)(string2)\2 must match a string containing string1string2string2; (string1)(string2)\1\2 means to repeat string1 for once first, and then repeat string2 for once, and (string1)(string2)\1\2 must match a string containing string1string2string1string2. [^] Used to match any character not in a specified range. For example, [^16A] means to match a string containing any character except 1, 6 or A, and the string can also contain 1, 6 or A, but cannot contain these three characters only. For example, [^16A] can match “abc” and “m16”, but not 1, 16, or 16A. \” can match word “undo” or string “abcdo”. \bcharacter2 Used to match character1character2. character1 can be any character except number, letter or underline, and \b equals [^A-Za-z0-9_]. For example, \ba can match -a, with - represents character1, and a represents character2; while \ba cannot match “2a” or “ba”. \Bcharacter It must match a string containing character, and there can no spaces before character. For example, “\Bt” can match “t” in “install”, but not “t” in “big top”. character1\w Used to match character1character2. character2 must be a number, letter or underline, and \w equals [^A-Za-z0-9_]. For example, “v\w” can match “vlan”, with “v” being character1, and “l” being character2. v\w can also match “service”, with “i” being character2. \W Equals \b. For example, “\Wa” can match “-a”, with “-” representing character1, and “a” representing character2; while “\ba” cannot match “2a” or “ba”. \ Escape character. If single special characters listed in this table follow \, the specific meanings of the characters will be removed. For example, “\\” can match a string containing “\”, “\^” can match a string containing “^”, and “\\b” can match a string containing “\b”. Multiple-screen output When there is a lot of information to be output, the system displays the information in multiple screens. Generally, 24 lines are displayed on one screen, and you can also use the screen-length command to set the number of lines displayed on the next screen. (For the details of this command, refer to Login Commands in the System Volume.) You can follow the step below to disable the multiple-screen output function of the current user. To do… Use the command… Remarks Disable the multiple-screen output function of the current user screen-length disable Required By default, a login user uses the settings of the screen-length command. The default settings of the screen-length command are: multiple-screen output is enabled and 24 lines are displayed on the next screen. This command is executed in user view, and therefore is applicable to the current user only. When a user re-logs in, the settings restore to the system default. Display functions CLI offers the following feature: When the information displayed exceeds one screen, you can pause using one of the methods shown in Table 1-6. Table 1-6 Display functions Action Function Press when information display pauses Continues to display information of the next screen page. Press when information display pauses Continues to display information of the next line. Enter when information display pauses Stops the display and the command execution. Moves the cursor to the end of the current line. Displays information on the previous page. Displays information on the next page. Saving History Commands The CLI can automatically save the commands that have been used. You can invoke and repeatedly execute them as needed. By default, the CLI can save up to ten commands for each user. You can use the history-command max-size command to set the capacity of the history commands log buffer for the current user interface (For the detailed description of the history-command max-size command, refer to Login Commands in the System Volume). The following table lists the operations that you can perform. Besides, l The commands are saved as they are input. If you use the incomplete format of a command, the saved command is in the incomplete format. l If a command is executed for multiple times, the system saves the first. However, if a command is input in different format, the system saves the command input of all the different formats. For example, if you execute the display cu command for multiple times, the system saves it once. If you execute the display cu and display current-configuration commands, the system saves both. Follow these steps to access history commands: To do… Use the key/command… Result View the history commands display history-command Displays the commands that you have entered Access the previous history command Up-arrow key or Displays the earlier history command, if there is any. Access the next history command Down-arrow key or Displays the next history command, if there is any.
You may use arrow keys to access history commands in Windows 200X and XP Terminal or Telnet. However, the up-arrow and down-arrow keys are invalid in Windows 9X HyperTerminal, because they are defined in a different way. You can use and instead. Command Line Error Information The commands are executed only if they have no syntax error. Otherwise, error information is reported. Table 1-7 lists some common errors. Table 1-7 Common command line errors Error information Cause % Unrecognized command found at '^' position. The command was not found. The keyword was not found. Parameter type error The parameter value is beyond the allowed range. % Incomplete command found at '^' position. Incomplete command % Ambiguous command found at '^' position. Ambiguous command, Too many parameters Too many parameters % Wrong parameter found at '^' position. Wrong parameter |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |